package 慕课网.animal;

public class test2 {
    public static void main(String[] args) {
//        Animal three=new Dog();
//        three.setName("小马");
//        three.setSpecies("挪威那");
//        three.eat();
//        Cat one=new Cat();
//        one.setName("花花");
//        one.setSpecies("中华田园猫");
//        one.eat();
//        one.run();
//        System.out.println("===========================");
        Dog tow=new Dog();
        tow.setName("牛牛");
        tow.setMonth(1);
        tow.setSpecies("哈士奇");
        tow.eat();
        tow.sleep();
        System.out.println("===========================");
//        tow.eat("文墨");
    }
}
